<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="#">设置主播和平台分成比例</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('gift/giftratio')}">
			<fieldset>

				<div class="control-group">
					<label class="control-label">平台分成比例</label>
					<div class="controls">
						<input type="text" name="sys_ratio" value="{$info.sys_ratio}">%
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">主播分成比例</label>
					<div class="controls">
						<input type="text" name="zhubo_ratio" value="{$info.zhubo_ratio}">%
					</div>
				</div>


			</fieldset>
			<div class="form-actions">
				<input type="hidden" name="id" value="{$info.id}" />
				<button type="submit" class="btn btn-primary js-ajax-submit">
					{:L('SAVE')}
				</button>
				<a class="btn" href="{:U('Configprivate/lists')}">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
<script>
$(function(){
	$('#data-type').change(function(){
		$('#data-field').val($(this).find('option:selected').attr('rule'));
	});
})
</script>	
</body>
</html>